/**
 * 
 */
package com.study.timer.quartz;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * @author Administrator
 * @date 2019年4月27日
 */
public class MyJob implements Job {

	/* (non-Javadoc)
	 * @see org.quartz.Job#execute(org.quartz.JobExecutionContext)
	 */
	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		System.out.println("quartz myjob date: " + new SimpleDateFormat("hh:mm:ss").format(new Date()));
	}
 
	
}
